import { StackNavigator } from "react-navigation";

import NavIndex from "./navigation/navIndex";
import NavOne from "./navigation/navOne";
import NavTwo from "./navigation/navTwo";
import MyTab from "./navigation/TabView";
import CustomTab from "./navigation/CustomTab";
import CustomTransitioner from "./navigation/CustomTransitioner";

const HomeApp = StackNavigator({
  Home: {
    screen: NavIndex,
  },
  NavOne: {
    screen: NavOne,
    navigationOptions: {
      headerStyle: {
        backgroundColor: "rgba(0, 0, 0, 0.4)",
      },
    },
  },
  NavTwo: {
    screen: NavTwo,
  },
  TabView: {
    screen: MyTab,
  },
  CustomTab: {
    screen: CustomTab,
  },
  CustomTransitioner: {
    screen: CustomTransitioner,
  }
})

export default HomeApp;